
** Import raw data
infile using "$rawpath\CNLSY79_outcomescognitive\CNLSY79_outcomescognitive.dct", clear

** To get labels from raw data
run "$rawpath\CNLSY79_outcomescognitive\CNLSY79_outcomescognitive-value-labels.do"

tolower

rename c0000100 child_pid
rename c0000200 mom_pid

save "$rawpath\000_cnlsy_child_cognitiveoutcomes_raw.dta", replace

